package jehc.djshi.workflow.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jehc.djshi.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
/**
 * @Desc 流程部署历史记录
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="流程部署历史记录对象", description="流程部署历史记录")
public class LcDeploymentHis extends BaseEntity implements Serializable{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private String id;/**id**/

	@ApiModelProperty(value = "名称")
	private String deploymentName;/**名称**/

	@ApiModelProperty(value = "流程部署Id")
	private String deploymentId;/**流程部署Id**/

	@ApiModelProperty(value = "部署时间")
	private Date deploymentTime;/**部署时间**/

	@ApiModelProperty(value = "租户编号")
	private String tenantId;/**租户编号**/

	@ApiModelProperty(value = "流程编号")
	private String lcProcessId;/**流程编号**/

	@ApiModelProperty(value = "状态：0正常1关闭")
	private int status;/**状态0正常1关闭**/

	@ApiModelProperty(value = "Bpmn流程中定义id")
	private String uid;/**Bpmn流程中定义id**/

	@ApiModelProperty(value = "流程uk（键）")
	private String uk;/** 流程uk（键）**/

	@ApiModelProperty(value = "bpmn xml内容")
	private String bpmn;/**bpmn xml内容**/

	@ApiModelProperty(value = "mxgraph xml字符串")
	private String mxgraphXml;/**mxgraph xml字符串**/

	@ApiModelProperty(value = "样式风格0直线1曲线")
	private int mxgraphStyle;/**样式风格0直线1曲线**/

	@ApiModelProperty(value = "image xml字符串")
	private String imgXml;/**image xml字符串**/

	@ApiModelProperty(value = "流程标题")
	private String title;

	@ApiModelProperty(value = "产品线名称")
	private String productName;/**产品线名称**/

	@ApiModelProperty(value = "产品组")
	private String groupName;/**产品组**/

	@ApiModelProperty(value = "标识:0通过平台设计器设计1通过上传部署")
	private int flag;/**标识:0通过平台设计器设计1通过上传部署**/

	@ApiModelProperty(value = "宽度")
	private String w;/**宽度**/

	@ApiModelProperty(value = "高度")
	private String h;/**高度**/

	@ApiModelProperty(value = "流程状态：0待发布1发布中2已关闭")
	private Integer processStatus;/**0待发布1发布中2已关闭**/

	@ApiModelProperty(value = "流程设计是否删除0正常1删除")
	private Integer processDelFlag;/**流程设计是否删除0正常1删除**/

	//扩展属性 用于持久化至设计器中
	@ApiModelProperty(value = "流程发起组类型：0部门1岗位3角色")
	private String candidateGroupType;//流程发起组类型：0部门1岗位3角色

	@ApiModelProperty(value = "发起人")
	private String candidateStarterUsers;//发起人

	@ApiModelProperty(value = "发起组")
	private String candidateStarterGroups;//发起组

}

